﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Service" %>

<%PowerGroup modelpowergroup = v.data("powergroup") as PowerGroup; %>
<%var bllPowerGroupService = new PowerGroupService(); %>

<!--模型类别列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("article", "modeladd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{modelmanage_add_title}','<%=link.to(new wojilu.Web.Controller.Admin.Qycms.ModelController().ModelAdd) %>?freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{modelmanage_add_title}" hidefocus="true">_{modelmanage_add_title}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{user_type_botton}</span>
				<ul>
					<li><a class="menunoclick" id="isclass0" href="#body" onclick="javascript:dbfilter('isclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="isclass1" href="#body" onclick="javascript:dbfilter('isclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="isclass2" href="#body" onclick="javascript:dbfilter('isclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{modelmanage_islockin_botton}</span>
				<ul>
					<li><a class="menunoclick" id="lockin0" href="#body" onclick="javascript:dbfilter('lockin','lockin',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="lockin1" href="#body" onclick="javascript:dbfilter('lockin','lockin',1,1,3,'selectform','selectall','check_all')" title="_{modelmanage_islockin_botton1}" hidefocus="true">_{modelmanage_islockin_botton1}</a></li>
					<li><a class="menuclick" id="lockin2" href="#body" onclick="javascript:dbfilter('lockin','lockin',2,2,3,'selectform','selectall','check_all')" title="_{modelmanage_islockin_botton2}" hidefocus="true">_{modelmanage_islockin_botton2}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{modelmanage_isbase_botton}</span>
				<ul>
					<li><a class="menunoclick" id="isbase0" href="#body" onclick="javascript:dbfilter('isbase','isbase',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="isbase1" href="#body" onclick="javascript:dbfilter('isbase','isbase',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="isbase2" href="#body" onclick="javascript:dbfilter('isbase','isbase',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{modelmanage_istsn_botton}</span>
				<ul>
					<li><a class="menunoclick" id="istsn0" href="#body" onclick="javascript:dbfilter('istsn','istsn',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="istsn1" href="#body" onclick="javascript:dbfilter('istsn','istsn',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="istsn2" href="#body" onclick="javascript:dbfilter('istsn','istsn',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>

			<li><span class="menufont">_{modelmanage_isalbum_botton}</span>
				<ul>
					<li><a class="menunoclick" id="isalbum0" href="#body" onclick="javascript:dbfilter('isalbum','isalbum',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="isalbum1" href="#body" onclick="javascript:dbfilter('isalbum','isalbum',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="isalbum2" href="#body" onclick="javascript:dbfilter('isalbum','isalbum',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>


			<li><span class="menufont">_{modelmanage_isextid_botton}</span>
				<ul>
					<li><a class="menunoclick" id="isextid0" href="#body" onclick="javascript:dbfilter('isextid','isextid',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="isextid1" href="#body" onclick="javascript:dbfilter('isextid','isextid',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="isextid2" href="#body" onclick="javascript:dbfilter('isextid','isextid',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{modelmanage_issid_botton}</span>
				<ul>
					<li><a class="menunoclick" id="issid0" href="#body" onclick="javascript:dbfilter('issid','issid',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="issid1" href="#body" onclick="javascript:dbfilter('issid','issid',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="issid2" href="#body" onclick="javascript:dbfilter('issid','issid',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{modelmanage_isfgid_botton}</span>
				<ul>
					<li><a class="menunoclick" id="isfgid0" href="#body" onclick="javascript:dbfilter('isfgid','isfgid',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="isfgid1" href="#body" onclick="javascript:dbfilter('isfgid','isfgid',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="isfgid2" href="#body" onclick="javascript:dbfilter('isfgid','isfgid',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{modelmanage_islinkdid_botton}</span>
				<ul>
					<li><a class="menunoclick" id="islinkdid0" href="#body" onclick="javascript:dbfilter('islinkdid','islinkdid',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="islinkdid1" href="#body" onclick="javascript:dbfilter('islinkdid','islinkdid',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="islinkdid2" href="#body" onclick="javascript:dbfilter('islinkdid','islinkdid',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("article", "modeledit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{user_type_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('<%=link.to(new wojilu.Web.Controller.Admin.Qycms.ModelController().ModelSetting) %>','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('<%=link.to(new wojilu.Web.Controller.Admin.Qycms.ModelController().ModelSetting) %>','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>